#!/bin/bash

git checkout develop
git add .gitignore README.md LICENSE
git add -f gitsync.sh
git add -A  openwrt-scripts/
git add -A .
git commit -m "openwrt-imagebuild"
git pull --rebase origin develop
git push origin develop

if [ "`uname -a | grep -i debian`" != "" ]; then
	echo "debian merge branch ubuntu livecd "
	git checkout master
	git merge develop master -m "merge branch"
	git push origin master
	git checkout develop
	exit 0
fi

#$ git clone  git@gitee.com:redbrother/make-ubuntu-livecd.git
#$ git remote add gitee git@gitee.com:redbrother/make-ubuntu-livecd.git
